package org.example.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.example.pojo.User;
import org.example.service.UserService;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class UserServiceImpl implements UserService {
    @Override
    public User getUserById(Integer id) {
        log.info("query user by id:{}",id);
//        Integer.valueOf("t");
        return new User(id,"用户"+id,12);
    }
}
